package com.lgrglw.common.page;

/**
 * 搜索参数传递对象
 * 
 * @author liwei
 * 
 */
public class SeachParam {
	/**
	 * 排序字段类型为权重
	 */
	public static final int TYPE_SCORE = 0;
	/**
	 * 排序字段类型为long int float
	 */
	public static final int TYPE_AUTO = 2;
	/**
	 * 排序字段类型为String
	 */
	public static final int TYPE_STRINF = 3;
	/**
	 * 排序为升序排列
	 */
	public static final boolean ORDER_ASC = false;
	/**
	 * 排序为降序排列
	 */
	public static final boolean ORDER_DESC = true;
	/**
	 * 搜索关键词
	 */
	private String keyWord;
	/**
	 * 所属区域
	 */
	private String area;
	/**
	 * 是否搜索附件
	 */
	private boolean attach;
	/**
	 * 文档状态
	 */
	private Integer status;
	/**
	 * 文档路径允许使用*在末尾匹配
	 */
	private String path;

	/**
	 * 排序字段
	 */
	private String filedName;
	/**
	 * 字段类型
	 */
	private Integer filedType;
	/**
	 * 字段排序方式
	 */
	private boolean filedOrder;
	/**
	 * 每页记录数
	 */
	private int pageSize;
	/**
	 * 当前取第几页记录 从1开始
	 */
	private int pageNo;

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPageNo() {
		return pageNo;
	}

	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}

	public String getKeyWord() {
		return keyWord;
	}

	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public boolean isAttach() {
		return attach;
	}

	public void setAttach(boolean attach) {
		this.attach = attach;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getFiledName() {
		return filedName;
	}

	public void setFiledName(String filedName) {
		this.filedName = filedName;
	}

	public Integer getFiledType() {
		return filedType;
	}

	public void setFiledType(Integer filedType) {
		this.filedType = filedType;
	}

	public boolean isFiledOrder() {
		return filedOrder;
	}

	public void setFiledOrder(boolean filedOrder) {
		this.filedOrder = filedOrder;
	}

}
